package com.woniuxy.net;

public class TestThread {

	public static void main(String[] args) {
		new MyThread().start(); // 启动线程
		for (int i = 0; i < 10; i++) {
			try {
				Thread.sleep(1000);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
			System.out.println("Main:" + i);
		}

	}

}
